package com.dd.service.Impl;

import com.dd.dao.OrderDao;
import com.dd.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl implements OrderService {
    @Qualifier("OrderDao")
    @Autowired
    OrderDao orderDao;
    @Qualifier("OrderNewDao")
    @Autowired
    OrderDao orderNewDao;

    @Override
    public void getOrder() {
        orderDao.getOrder();
    }
    public void getOrderNew(){
        orderNewDao.getOrder();
    }
}
